package com.yb.core.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * Copyright (C), 2022-2023, 姚兵
 * Author: 32210
 * Date: 2023/5/8 12:07
 * FileName: CourseBase
 * Description:
 */
public class CourseBaseEnum {

    @Getter
    @AllArgsConstructor
    public enum AuditStatus{
//        [{"code":"202001","desc":"审核未通过"},{"code":"202002","desc":"未提交"},{"code":"202003","desc":"已提交"},{"code":"202004","desc":"审核通过"}]
        UNCOMMITTED("202002","未提交"),
        COMMITTED("202003","已提交"),
        NOT_APPROVED("202001","审核未通过"),
        APPROVED("202004","审核通过");
        private String code;
        private String desc;
    }


    @Getter
    @AllArgsConstructor
    public enum PublishStatus{
//        [{"code":"203001","desc":"未发布"},{"code":"203002","desc":"已发布"},{"code":"203003","desc":"下线"}]
        NOT_PUBLISH("203001","未发布"),
        PUBLISHED("203002","已发布"),
        OFFLINE("203003","下线");
        private String code;
        private String desc;
    }
}
